package com.thirteengroup.casemg.Mapper;

import com.thirteengroup.casemg.domain.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface departmentMapper {
    List<Department> selectAll();
    void deleteById(long id);
    Department selectOne(long id);
    void update(Department dept);
    void insert(Department dept);
    Department selectOneByName(String name);
}
